package com.pz.gulimall.auth.feign;

import com.pz.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("gulimall-ware")
public interface WareFeign {
    @RequestMapping("/ware/waresku/hasstock")
    R hasStockBySkuId(@RequestBody List<Long> skuIds);
}
